package com.ddstation.clinic.dpt.mapper;

import com.ddstation.clinic.dpt.entity.DtClinicDepartmentEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtClinicDepartmentMapper {
	public DtClinicDepartmentEntity selectByPK(@Param("institutionId") String institutionId, @Param("dptCd") String dptCd);
	public List<DtClinicDepartmentEntity> selectList(@Param("institutionId") String institutionId);
	public int insert(DtClinicDepartmentEntity dpt);
	public int update(DtClinicDepartmentEntity dpt);
	public int delete(@Param("institutionId") String institutionId, @Param("dptCd") String dptCd);
	public boolean selectDptDoctor(@Param("institutionId") String institutionId, @Param("dptCd") String dptCd);
	public DtClinicDepartmentEntity selectDoctorDpt(@Param("institutionId") String institutionId, @Param("doctorId") Integer doctorId);
}
